package com.fc.mapper;

import com.fc.entity.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author zffc
 * @since 2023-07-18
 */
public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    /**
     * 根据当前用户名找出该用户的所有被启用的权限
     * @param username
     * @return
     */
    List<String> selectPermissionUrlByUsername(String username);
}
